package com.njcs.proxypattern;

/**
 * 代理模式Test
 * 
 */
public class Run {
	public static void main(String[] args) {
		MM mm = new MM();
		mm.setName("志玲");
		Pursuit gg = new Pursuit("Sam", mm);
		Proxy daili = new Proxy(gg);
		daili.giveChocolate();
		daili.giveDolls();
		daili.giveFlowers();
	}
}
